libxc, ia64: Added new arch_hook for registering ia64 big endian images.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 26 Feb 2007 10:18:52 +0000 (10:18 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 26 Feb 2007 10:18:52 +0000 (10:18 +0000)
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
tools/libxc/xc_dom_ia64.c

index 02e19ba129289a325988bcd15f6005dac77727f6..4eef9761548f2e30989ad5b1fcabcccbac5b600c 100644 (file)
@@ -113,9 +113,19 @@ static struct xc_dom_arch xc_dom_arch = {
     .vcpu = vcpu_ia64,
 };
 
+static struct xc_dom_arch xc_dom_arch_ia64be = {
+    .guest_type = "xen-3.0-ia64be",
+    .page_shift = PAGE_SHIFT_IA64,
+    .alloc_magic_pages = alloc_magic_pages,
+    .start_info = start_info_ia64,
+    .shared_info = shared_info_ia64,
+    .vcpu = vcpu_ia64,
+};
+
 static void __init register_arch_hooks(void)
 {
     xc_dom_register_arch_hooks(&xc_dom_arch);
+    xc_dom_register_arch_hooks(&xc_dom_arch_ia64be);
 }
 
 /*